package Event;

import Creature.Player;
import Engine.System1;

import javax.swing.*;
import java.net.URL;

public abstract class Story {
    public String eventName;
    public String happenText;
    public String endText;
    public String[] options;
    public Player player;
    public Story child;
    public URL picUrl;
    public ImageIcon header;
    public Story(Player player){
        this.player=player;
    }


    public void eventHappen(int option){
        //设置player的数值变化
        //具体数值参照player内变量

    }

    public boolean canHappen(Player player){
            return true;
    }
}

